xentrace: Disable tracing, then read records one more time.
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 3 Feb 2010 09:36:37 +0000 (09:36 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 3 Feb 2010 09:36:37 +0000 (09:36 +0000)
commite0b0cd61d2ffde48d7fc69623c4a59005a4c58af
treea7cfb796e18d3ffc2a3ebcd127966cb672c16035
parent7a223440b71e664b31505eba0a064566d03d7e2d
xentrace: Disable tracing, then read records one more time.

When interrupted, first disable tracing, then read through the records
one last time.

Without this patch, it's possible to get traces which interact (such
as runstate changes) on processors with higher numbers, while missing
the corresponding traces generated on lower-numbered processors.

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
tools/xentrace/xentrace.c